"use server";

let _Counter : number = 32;

/**
 * 获取计数器
 * @returns {number}
 */
export async function getCounter() {
	console.log('server: getCounter()')
	return _Counter;
}
/**
 * 设置计数器
 * @param {number} counter
 */
export async function setCounter(counter: number) {
	console.log('server: setCounter()')
	_Counter = counter;
}